﻿<%@ Page 
 Language="C#" 
 AutoEventWireup="true" 
 CodeBehind="Default2.aspx.cs" 
 Inherits="WebSite_that_use_Wizard.NET._Default2" 
 EnableEventValidation="false"
 EnableViewState="false"
 EnableViewStateMac="false"
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
    <!-- This would show the ugly 'This page has expired.' message,
        and prevent the Back button from working.
        [meta http-equiv="CACHE-CONTROL" content="NO-CACHE"]
        [meta HTTP-EQUIV="EXPIRES" CONTENT="0"] -->
<script language=javascript>
function GetHint()
{
  var message = document.form1.tFirstName.value;
  var context = '';
  <%= mGetHintFromServer %>
}
         
function ShowHint(hint) {
  var spanHint=document.getElementById("txtHint");
  spanHint.innerHTML=hint;
}

function GetHint2()
{
  var message = document.form1.tFirstName2.value;
  var context = '';
  <%= mGetHint2FromServer %>
}
         
function ShowHint2(hint) {
  var spanHint=document.getElementById("txtHint");
  spanHint.innerHTML=hint;
}
</script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
		<asp:Button ID="btnCompile" runat="server" Text="Compile" 
            onclick="btnCompile_Click" />
        Last Compile Time: <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
		<asp:Button ID="btnClearDatabase" runat="server" Text="Clear Database" 
            onclick="btnClearDatabase_Click" />
        <asp:Button ID="btnRun" runat="server" Text="Run"  
            EnableViewState="False" OnClientClick="return false" />
        <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
        <br />
  First Name: <input type="text" name="tFirstName" onkeyup="GetHint();"/>  <span id="txtHint">abc</span>
        <br />
        ScriptSourceID: <asp:TextBox ID="tbScriptSourceId" runat="server">1</asp:TextBox>
        <br />
        a:<asp:DropDownList ID="DropDownList1" runat="server">
        </asp:DropDownList>
&nbsp;b:<asp:DropDownList ID="DropDownList2" runat="server">
        </asp:DropDownList>
        <br />
        Source:<br />
        <asp:TextBox ID="tbSource" TextMode="multiline"
			runat="server" Height="350px" Width="100%">class main
  dim x as integer
  dim y as string

  sub new
    PRINT &quot;HELLO&quot;
    PRINT &quot;WORLD&quot;
  end sub
  
  sub abc
    print &quot;ABC&quot;
  end sub

end class
</asp:TextBox>
    </div>
    </form>
    <!-- iframe src="LongSlowList.aspx" width="100%" height="auto" frameborder="0"></iframe -->
</body>
</html>
